package demo3;

import java.util.Random;

/**
 * @Author liangzai
 * @Description:
 */
public class Test {
    public static void main(String[] args) {
        Random random = new Random();
        int ran = random.nextInt(100);
        if (ran > 50) {
            System.out.println("吃！");
        }else {
            System.out.println("不吃！");
        }
        for (int i = 1; i <= 100; i++) {
            int a = random.nextInt(100);
            System.out.print(a+" ");
            if (i % 10 == 0) {
                System.out.println();
            }
        }
    }
}
